home *** CD-ROM | disk | FTP | other *** search
/ Carousel Volume 2 #1 / carousel.iso / mactosh / util / autodele.sit / AutoDelete docs next >
Text File  |  1987-03-23  |  4KB  |  56 lines

  1.                        AutoDelete ⌐1987 by John Lim
  2.                        ----------------------------
  3.                             
  4. INTRODUCTION
  5. ------------
  6. AutoDelete ⌐1987 is an application written by John Lim that when launched automatically deletes all unwanted files in a folder or directory and then optionally self-destructs. This is particularly useful if you have a RAMdisk program that loads your system folder at bootup, and you have many INIT files (like BeepSound or JClock) that you want deleted from the RAMdisk to save space.
  7.  
  8. I use this program with Sequencer by Darin Adler. Sequencer is a program that can launch several applications sequentially. I set Sequencer to launch my RamDisk program followed by AutoDelete. When AutoDelete is launched, it will delete all the unneeded INIT files and the RAMdisk program from the RAMdisk.
  9.  
  10. There are 2 ways you can configure this program :
  11.     A) REMOTE-DELETE - set AutoDelete to delete files in a directory from another directory. This is useful if you have a hard disk. This configuration only works under HFS.
  12.     B) SELF-DELETE - delete selected files in one directory on the SAME disk that AutoDelete is on, and then self-destructs. AutoDelete need not be in the same directory as the files to be deleted, but it has to be on the same disk. This configuration is useful when you are booting up from a floppy and your RAMdisk program has the option of ejecting the startup disk. SELF-DELETE mode works under both HFS or MFS and on the old ROMs too !
  13.  
  14. HOW TO USE IT
  15. -------------
  16. 1. Launch ResEdit.
  17.  
  18. 2. If you want to set AutoDelete to REMOTE-DELETE, find the 'STR ' resource named 'SelfDelete' in AutoDelete. Open that resource. You will see a string saying 'Yes'.The yes means it is set to SELF-DELETE mode. Change the string to 'No'. That sets it to REMOTE-DELETE. To change back to SELF-DELETE restore the string to the original i.e. 'Yes'.
  19.  
  20. 3. Find the 'STR ' resource named 'Volume' in AutoDelete.
  21.  
  22. 4. Open that resource. You will see a string, 'RAMdisk:'.
  23.  
  24. 5. Change that string to the path-name of whatever directory that contains files you want deleted. For example, if all the files are you want to delete are on the disk named 'HAMMER' in the folder named 'Dolt', type 'HAMMER:Dolt:'. Remember to append the semi-colon at the end of the path-name.
  25.  
  26. 6. Open the 'STR#' resource named 'DeleteFiles'.
  27.  
  28. 7. You will see 3 stars at the bottom of the window. Click on the stars. A box will appear around the stars. Choose NEW from the File Menu. That creates a new string in the resource. Type the name of the  file you want deleted from the directory you have named in step 5 (i.e. the directory 'HAMMER:Dolt' in the above example).
  29.  
  30. 8. Repeat step 8 until you have listed all the files you want deleted.
  31.  
  32. 9. To remove a file from the list CUT the stars just above the string holding the file name.
  33.  
  34. 10. Close and save.
  35.  
  36. 11. If you choose REMOTE-DELETE, you can launch AutoDelete from anywhere. If you chose SELF-DELETE, as a safety precaution, you can only delete any files when the application is on the same disk as the files it is to delete.
  37.  
  38. NOTES
  39. ----- 
  40. Ñ To prevent the erasure of files due to an accidental launching of AutoDelete, hold the mouse button dowm until you return to the Finder.
  41. Ñ Any errors in deleting files or finding the appropriate directory are indicated by beeps.
  42.  
  43. Acknowledgements & PD Notice
  44. ----------------------------
  45. Ñ AutoDelete is dedicated to Darin Adler for all the goodies like EUA, SkipFinder, Sequencer, etc. that he's written. 
  46. Ñ This program is free. I hereby put it in the public domain. No warranties or liability is implied by me for any damages resulting from the use of this program.
  47. Ñ Portions of this software ⌐1986 THINK TECHNOLOGIES.
  48.  
  49. John Lim
  50. All mail to :
  51. 18, Nottingwood St,
  52. Doncaster East,
  53. Victoria,
  54. 3109,
  55. Australia.
  56.